package com.fang.guilimall.admin.api;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName GulimallAdminApiApplication
 * @Description TODO
 * @Author fangge
 * @Date 2024/6/13 23:17
 */
@Slf4j
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = "com.fang.guilimall.admin.*")
public class GulimallAdminApiApplication {
    public static void main(String[] args) {
        try{
            SpringApplication.run(GulimallAdminApiApplication.class,args);
        }catch (Exception e){
            log.error("start",e);
        }

    }
}
